package com.wkck.utils;

public class Code {
    /**
     * 0代表ok
     * 1结尾代表错误
     */

    public static final Integer SELECT_OK = 200;
    public static final Integer SAVE_OK=300;
    public static final Integer UPDATE_OK=400;
    public static final Integer DELETE_OK=500;



    public static final Integer SELECT_ERR = 201;
    public static final Integer SAVE_ERR = 301;
    public static final Integer UPDATE_ERR = 401;
    public static final Integer DELETE_ERR = 501;
    public static final Integer SYSTEM_ERR = 801;


    /**
     * 登录注册业务代码
     */
    public static final Integer CREATE_OK=600;

    public static final Integer LOGIN_OK = 210;

    public static final Integer LOGIN_ERROR = 211;
    //用户不存在
    public static final Integer INEXISTENCE_USER_OK = 1000;
    //用户存在
    public static final Integer INEXISTENCE_USER_ERROR = 1001;
    //注册成功
    public static final Integer REGISTER_USER_OK = 2000;
    //注册失败
    public static final Integer REGISTER_USER_ERROR = 2001;
    //匹配成功
    public static final Integer MATCHES_USER_OK = 3000;
    //匹配失败
    public static final Integer MATCHES_USER_ERROR = 3001;
}
